package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 年度信息对象 year_message
 * 
 * @author ruoyi
 * @date 2021-01-07
 */
public class YearMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long mesId;

    /** 所属年度 */
    @Excel(name = "所属年度")
    private String mesYear;

    /** 本年总投资 */
    @Excel(name = "本年总投资")
    private BigDecimal mesInvest;

    /** 本年计划投资 */
    @Excel(name = "本年计划投资")
    private BigDecimal mesInvestGoal;

    /** 开工至上年末总目标 */
    @Excel(name = "开工至上年末总目标")
    private String mesTotal;

    /** 本年计划目标 */
    @Excel(name = "本年计划目标")
    private String mesTotalGoal;

    /** 录入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date mesCreateTime;

    /** 最近修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最近修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date upTime;

    /** 项目外键 */
    @Excel(name = "项目外键")
    private Long proId;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long createUserId;

    /** 最近修改人 */
    @Excel(name = "最近修改人")
    private Long upUserId;


    public void setMesId(Long mesId) 
    {
        this.mesId = mesId;
    }

    public Long getMesId() 
    {
        return mesId;
    }
    public void setMesYear(String mesYear) 
    {
        this.mesYear = mesYear;
    }

    public String getMesYear() 
    {
        return mesYear;
    }
    public void setMesInvest(BigDecimal mesInvest) 
    {
        this.mesInvest = mesInvest;
    }

    public BigDecimal getMesInvest() 
    {
        return mesInvest;
    }
    public void setMesInvestGoal(BigDecimal mesInvestGoal) 
    {
        this.mesInvestGoal = mesInvestGoal;
    }

    public BigDecimal getMesInvestGoal() 
    {
        return mesInvestGoal;
    }
    public void setMesTotal(String mesTotal) 
    {
        this.mesTotal = mesTotal;
    }

    public String getMesTotal() 
    {
        return mesTotal;
    }
    public void setMesTotalGoal(String mesTotalGoal) 
    {
        this.mesTotalGoal = mesTotalGoal;
    }

    public String getMesTotalGoal() 
    {
        return mesTotalGoal;
    }
    public void setMesCreateTime(Date mesCreateTime) 
    {
        this.mesCreateTime = mesCreateTime;
    }

    public Date getMesCreateTime() 
    {
        return mesCreateTime;
    }
    public void setUpTime(Date upTime) 
    {
        this.upTime = upTime;
    }

    public Date getUpTime() 
    {
        return upTime;
    }
    public void setProId(Long proId) 
    {
        this.proId = proId;
    }

    public Long getProId() 
    {
        return proId;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }
    public void setUpUserId(Long upUserId) 
    {
        this.upUserId = upUserId;
    }

    public Long getUpUserId() 
    {
        return upUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mesId", getMesId())
            .append("mesYear", getMesYear())
            .append("mesInvest", getMesInvest())
            .append("mesInvestGoal", getMesInvestGoal())
            .append("mesTotal", getMesTotal())
            .append("mesTotalGoal", getMesTotalGoal())
            .append("mesCreateTime", getMesCreateTime())
            .append("upTime", getUpTime())
            .append("proId", getProId())
            .append("createUserId", getCreateUserId())
            .append("upUserId", getUpUserId())
            .toString();
    }
}
